;
; snxpcip.inf
; Setup information file for SUNIX Multi-I/O Card
; Copyright (c) 2001-2015 SUNIX GROUP
;
; Port driver setup
;


;-------------------------------------------------------------------------------
;
; version section
;

[Version]
Signature                = "$Windows NT$"
Class                    = Ports
ClassGuid                = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider                 = %MFGNAME%
DriverVer                = 11/12/2015,8.2.0.0
CatalogFile              = snxport.cat


[ControlFlags]
ExcludeFromSelect = *


;-------------------------------------------------------------------------------
;
; port list
;

[Manufacturer]
%MFGNAME% = SUNIXPortList, NTx86, NTamd64


[SUNIXPortList]
[SUNIXPortList.NTx86]
%serialport%   = SUNIXSerPort_NTx86, SNXPCARD_ENUM\SNXPCARD_SERP
%parallelport% = SUNIXParPort_NTx86, SNXPCARD_ENUM\SNXPCARD_PARPECP
%parallelport% = SUNIXParPort_NTx86, SNXPCARD_ENUM\SNXPCARD_PARPSPP


[SUNIXPortList.NTamd64]
%serialport%   = SUNIXSerPort_NTamd64, SNXPCARD_ENUM\SNXPCARD_SERP
%parallelport% = SUNIXParPort_NTamd64, SNXPCARD_ENUM\SNXPCARD_PARPECP
%parallelport% = SUNIXParPort_NTamd64, SNXPCARD_ENUM\SNXPCARD_PARPSPP


;-------------------------------------------------------------------------------
;
; serial port install section
;

[SUNIXSerPort_NTx86]
CopyFiles  = PortDriver.Copy_NTx86, PropPage.Copy_NTx86
AddReg     = SUNIXSerPort_NTx86.AddReg
Include    = msports.inf
Needs      = SerialEnumerator.NT


[SUNIXSerPort_NTx86.HW]
AddReg     = SUNIXSerPortHW.AddReg


[SUNIXSerPort_NTx86.Services]
AddService = SNXPSERX, 0x00000002, SUNIXSerPort_NTx86.AddService, SUNIXSerPort_NTx86.AddEventLog
Include    = msports.inf
Needs      = SerialEnumerator.NT.Services


[SUNIXSerPort_NTamd64]
CopyFiles  = PortDriver.Copy_NTamd64, PropPage.Copy_NTamd64
AddReg     = SUNIXSerPort_NTamd64.AddReg
Include    = msports.inf
Needs      = SerialEnumerator.NT


[SUNIXSerPort_NTamd64.HW]
AddReg     = SUNIXSerPortHW.AddReg


[SUNIXSerPort_NTamd64.Services]
AddService = SNXPSAMD, 0x00000002, SUNIXSerPort_NTamd64.AddService, SUNIXSerPort_NTamd64.AddEventLog
Include    = msports.inf
Needs      = SerialEnumerator.NT.Services


;-------------------------------------------------------------------------------
;
; serial port add registry key section
;

[SUNIXSerPort_NTx86.AddReg]
HKR,,PortDriver,,snxpserx.sys
HKR,,EnumPropPages32,,"snxprops.dll,SerialPortPropPageProvider"


[SUNIXSerPort_NTamd64.AddReg]
HKR,,PortDriver,,snxpsamd.sys
HKR,,EnumPropPages32,,"snxpramd.dll,SerialPortPropPageProvider"


[SUNIXSerPortHW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"


;-------------------------------------------------------------------------------
;
; serial port service install section
;

[SUNIXSerPort_NTx86.AddService]
DisplayName    = %SUNIXSerPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxpserx.sys
LoadOrderGroup = Extended base


[SUNIXSerPort_NTamd64.AddService]
DisplayName    = %SUNIXSerPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxpsamd.sys
LoadOrderGroup = Extended base


;-------------------------------------------------------------------------------
;
; serial port event log install section
;

[SUNIXSerPort_NTx86.AddEventLog]
AddReg = SUNIXSerPort_NTx86.AddEventLog.AddReg


[SUNIXSerPort_NTx86.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxpserx.sys"
HKR,,TypesSupported,0x00010001,7


[SUNIXSerPort_NTamd64.AddEventLog]
AddReg = SUNIXSerPort_NTamd64.AddEventLog.AddReg


[SUNIXSerPort_NTamd64.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxpsamd.sys"
HKR,,TypesSupported,0x00010001,7


;-------------------------------------------------------------------------------
;
; parallel port install section
;

[SUNIXParPort_NTx86]
CopyFiles  = PortDriver.Copy_NTx86
AddReg     = SUNIXParPort_NTx86.AddReg


[SUNIXParPort_NTx86.Services]
AddService = SNXPPALX, 0x00000002, SUNIXParPort_NTx86.AddService, SUNIXParPort_NTx86.AddEventLog


[SUNIXParPort_NTamd64]
CopyFiles  = PortDriver.Copy_NTamd64
AddReg     = SUNIXParPort_NTamd64.AddReg


[SUNIXParPort_NTamd64.Services]
AddService = SNXPPAMD, 0x00000002, SUNIXParPort_NTamd64.AddService, SUNIXParPort_NTamd64.AddEventLog


;-------------------------------------------------------------------------------
;
; parallel port add registry key section
;

[SUNIXParPort_NTx86.AddReg]
HKR,,PortSubClass,1,00    ; LPT
HKR,,ECPDevice,1,01       ; ECP: 00 or 01
HKR,,EnumPropPages32,,"snxprops.dll,ParallelPortPropPageProvider"


[SUNIXParPort_NTamd64.AddReg]
HKR,,PortSubClass,1,00    ; LPT
HKR,,ECPDevice,1,01       ; ECP: 00 or 01
HKR,,EnumPropPages32,,"snxpramd.dll,ParallelPortPropPageProvider"


;-------------------------------------------------------------------------------
;
; parallel port service install section
;

[SUNIXParPort_NTx86.AddService]
DisplayName    = %SUNIXParPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxppalx.sys
LoadOrderGroup = Extended base


[SUNIXParPort_NTamd64.AddService]
DisplayName    = %SUNIXParPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxppamd.sys
LoadOrderGroup = Extended base


;-------------------------------------------------------------------------------
;
; parallel port event log install section
;

[SUNIXParPort_NTx86.AddEventLog]
AddReg = SUNIXParPort_NTx86.AddEventLog.AddReg


[SUNIXParPort_NTx86.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxppalx.sys"
HKR,,TypesSupported,0x00010001,7


[SUNIXParPort_NTamd64.AddEventLog]
AddReg = SUNIXParPort_NTamd64.AddEventLog.AddReg


[SUNIXParPort_NTamd64.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxppamd.sys"
HKR,,TypesSupported,0x00010001,7


;-------------------------------------------------------------------------------
;
; file copy section
;

[PortDriver.Copy_NTx86]
snxpserx.sys
snxppalx.sys


[PortDriver.Copy_NTamd64]
snxpsamd.sys
snxppamd.sys


[PropPage.Copy_NTx86]
snxprops.dll


[PropPage.Copy_NTamd64]
snxpramd.dll


[SourceDisksNames]
1 = %SourceDisksNamesDesc%,,,


[SourceDisksFiles]
[SourceDisksFiles.x86]
snxpserx.sys = 1,,
snxppalx.sys = 1,,
snxprops.dll = 1,,


[SourceDisksFiles.amd64]
snxpsamd.sys = 1,,
snxppamd.sys = 1,,
snxpramd.dll = 1,,


[DestinationDirs]
PortDriver.Copy_NTx86  = 12                    ; System32/Driver
PortDriver.Copy_NTamd64= 12                    ; System32/Driver
PropPage.Copy_NTx86    = 11                    ; System directory
PropPage.Copy_NTamd64  = 11                    ; System directory
DefaultDestDir         = 11                    ; System directory


;-------------------------------------------------------------------------------
;
; string section
;

[Strings]
MFGNAME = "SUNIX Co., Ltd."
DISPLAYNAME = "SUNIX Multi-I/O Port Driver"
PortsClassName = "Ports"
SourceDisksNamesDesc = "SUNIX Driver Disk"
SUNIXSerPort.ServiceDesc = "SUNIX Serial Port Driver"
SUNIXParPort.ServiceDesc = "SUNIX Parallel Port Driver"

serialport   = "SUNIX COM Port"
parallelport = "SUNIX LPT Port"
